quantum wave tracing